package HeartModel;

import Principal.ControllerInterface;
import Principal.DJViewSingleton;
  
public class HeartControllerSingleton implements ControllerInterface {
	HeartModelInterface model;
	DJViewSingleton view;
  
	public HeartControllerSingleton(HeartModelInterface model) {
		this.model = model;
		view = new DJViewSingleton (this, new HeartAdapter(model));
        view.createView();
        view.createControls();
		view.disableStopMenuItem();
		view.disableStartMenuItem();
	}
  
	public void start() {}
 
	public void stop() {}
	
	//Singleton: 5- Extension y sobreescritura  del boton >> para intentar generar
	//nuevas instancias
	public void increaseBPM() {
		HeartModelSingleton.getInstance();
	}
    
	public void decreaseBPM() {}
  
 	public void setBPM(int bpm) {}
}